package com.k2data.k2app.rest;

import com.k2data.k2app.rest.domain.RectObject;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * Created by clb on 17-6-15.
 */
@Component
public class MsgClientFallback implements MsgClient {

	@Override
	public RectObject sendMail (@RequestBody Object map) {
		RectObject rectObject = new RectObject();
		return rectObject.initDeviceRectMap();
	}

	@Override
	public RectObject sendSingleSms(@RequestBody Object map) {
		RectObject rectObject = new RectObject();
		return rectObject.initDeviceRectMap();
	}
}
